<html>
<head>
    <style>
        img { margin-left: 50px; width: 100px; height: 100px; background-color: rgb(255,0,0); }
        img::selection { background-color: rgb(0,195,0); }
    </style>
</head>
<body onload="getSelection().setBaseAndExtent(q, 0, q, 1)">
    <div style="padding-top: 50px;" id="q"><img></div>
</body>
</html>
